<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="../layui/css/layui.css" media="all">
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script type="text/javascript" src="../layui/layui.js"></script>
<script type="text/javascript" src="../js/share_1.js"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
<script>
	layui.use('element', function() {
		var element = layui.element; //导航的hover效果、二级菜单等功能，需要依赖element模块
		//监听导航点击
		element.on('nav(demo)', function(elem) {
			//console.log(elem)
			layer.msg(elem.text());
		});
	});
	/* 获取当前用户id */
	var currentUid = 1;
	$(document).ready(function(){
		//获取全部关注
		allCurrentUser();
	});
	//删除
	function deleteThis(shid){
		var options = {
    			url: "/share/deleteThis",
    			method: 'post',
    			data:{
    				shid:shid
			    },
			    success: function (data) {
			    	console.info(data);
			    	alert(data);
			    	//刷新
			    	allCurrentUser();
			    }
    	};
    	$.ajax(options); 
	}
</script>
</head>
<body>
	<div class="layui-body" style="width: 100%;left: auto;height: 100%;">
		
		<div style="background-color: white;">
			<!-- currentFolloweds -->
			<div style="padding: 20px; background-color: #F2F2F2;" id="contents">
				<!-- 内容 -->		
			</div>
		</div>

	</div>
</body>
</html>